package com.security.manage.apigateway.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user-microservice")
public interface AuthService {

    @PostMapping("/user/check/token")
    String checkToken(@RequestParam("token") String token);
}
